home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1995-08-29 | 5.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 32 37 3a 30 | 34 20 31 39 39 35 0a 3b | 14:27:0|4 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 75 74 | 69 6c 73 2f 72 65 67 69 |/lisp/ut|ils/regi|
|00000090| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|000000a0| 72 73 69 6f 6e 20 31 39 | 2e 31 33 20 58 45 6d 61 |rsion 19|.13 XEma|
|000000b0| 63 73 20 4c 75 63 69 64 | 2e 0a 3b 3b 3b 20 62 79 |cs Lucid|..;;; by|
|000000c0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 32 |tecomp v|ersion 2|
|000000d0| 2e 32 35 3b 20 31 2d 53 | 65 70 2d 39 34 2e 0a 3b |.25; 1-S|ep-94..;|
|000000e0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000f0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000100| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000110| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000120| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 38 |xist in |Emacs 18|
|00000130| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000140| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000150| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000160| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|00000170| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|00000180| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|00000190| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001a0| 73 2d 76 65 72 73 69 6f | 6e 20 22 31 39 22 29 29 |s-versio|n "19"))|
|000001b0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 54 68 |). (e|rror "Th|
|000001c0| 69 73 20 66 69 6c 65 20 | 77 61 73 20 63 6f 6d 70 |is file |was comp|
|000001d0| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 31 |iled for| Emacs 1|
|000001e0| 39 2e 22 29 29 0a 0a 28 | 66 73 65 74 20 27 72 65 |9."))..(|fset 're|
|000001f0| 67 69 2d 70 6f 73 20 23 | 5b 28 26 6f 70 74 69 6f |gi-pos #|[(&optio|
|00000200| 6e 61 6c 20 70 6f 73 69 | 74 69 6f 6e 20 63 6f 6c |nal posi|tion col|
|00000210| 2d 70 29 20 22 8a 08 c1 | 3d ab 85 c2 79 88 aa a1 |-p) "...|=...y...|
|00000220| 08 c3 3d ab 85 c4 20 88 | aa 97 08 c5 3d ab 85 c6 |..=... .|....=...|
|00000230| 79 88 aa 8d 08 c7 3d ab | 85 c8 79 88 aa 83 c9 7f |y.....=.|..y.....|
|00000240| 88 0e 5c 6e ab 83 69 aa | 81 60 29 87 22 20 5b 70 |..\n..i.|.`)." [p|
|00000250| 6f 73 69 74 69 6f 6e 20 | 62 6f 6c 20 30 20 62 6f |osition |bol 0 bo|
|00000260| 69 20 62 61 63 6b 2d 74 | 6f 2d 69 6e 64 65 6e 74 |i back-t|o-indent|
|00000270| 61 74 69 6f 6e 20 62 6f | 6e 6c 20 31 20 62 6f 70 |ation bo|nl 1 bop|
|00000280| 6c 20 2d 31 20 6e 69 6c | 20 63 6f 6c 2d 70 5d 20 |l -1 nil| col-p] |
|00000290| 32 20 22 5c 0a 52 65 74 | 75 72 6e 20 74 68 65 20 |2 "\.Ret|urn the |
|000002a0| 63 68 61 72 61 63 74 65 | 72 20 70 6f 73 69 74 69 |characte|r positi|
|000002b0| 6f 6e 20 61 74 20 76 61 | 72 69 6f 75 73 20 62 75 |on at va|rious bu|
|000002c0| 66 66 65 72 20 70 6f 73 | 69 74 69 6f 6e 73 2e 0a |ffer pos|itions..|
|000002d0| 4f 70 74 69 6f 6e 61 6c | 20 50 4f 53 49 54 49 4f |Optional| POSITIO|
|000002e0| 4e 20 63 61 6e 20 62 65 | 20 6f 6e 65 20 6f 66 20 |N can be| one of |
|000002f0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 79 |the foll|owing sy|
|00000300| 6d 62 6f 6c 73 3a 0a 0a | 60 62 6f 6c 27 20 20 3d |mbols:..|`bol' =|
|00000310| 3d 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 6c |= beginn|ing of l|
|00000320| 69 6e 65 0a 60 62 6f 69 | 27 20 20 3d 3d 20 62 65 |ine.`boi|' == be|
|00000330| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 69 6e 64 65 6e |ginning |of inden|
|00000340| 74 61 74 69 6f 6e 0a 60 | 65 6f 6c 27 20 20 3d 3d |tation.`|eol' ==|
|00000350| 20 65 6e 64 20 6f 66 20 | 6c 69 6e 65 20 5b 64 65 | end of |line [de|
|00000360| 66 61 75 6c 74 5d 0a 60 | 62 6f 6e 6c 27 20 3d 3d |fault].`|bonl' ==|
|00000370| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 6e 65 | beginni|ng of ne|
|00000380| 78 74 20 6c 69 6e 65 0a | 60 62 6f 70 6c 27 20 3d |xt line.|`bopl' =|
|00000390| 3d 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 70 |= beginn|ing of p|
|000003a0| 72 65 76 69 6f 75 73 20 | 6c 69 6e 65 0a 0a 4f 70 |revious |line..Op|
|000003b0| 74 69 6f 6e 61 6c 20 43 | 4f 4c 2d 50 20 6e 6f 6e |tional C|OL-P non|
|000003c0| 2d 6e 69 6c 20 72 65 74 | 75 72 6e 73 20 60 63 75 |-nil ret|urns `cu|
|000003d0| 72 72 65 6e 74 2d 63 6f | 6c 75 6d 6e 27 20 69 6e |rrent-co|lumn' in|
|000003e0| 73 74 65 61 64 20 6f 66 | 20 63 68 61 72 61 63 74 |stead of| charact|
|000003f0| 65 72 20 70 6f 73 69 74 | 69 6f 6e 2e 22 5d 29 0a |er posit|ion."]).|
|00000400| 28 66 73 65 74 20 27 72 | 65 67 69 2d 6d 61 70 63 |(fset 'r|egi-mapc|
|00000410| 61 72 20 23 5b 28 70 72 | 65 64 6c 69 73 74 20 66 |ar #[(pr|edlist f|
|00000420| 75 6e 63 20 26 6f 70 74 | 69 6f 6e 61 6c 20 6e 65 |unc &opt|ional ne|
|00000430| 67 61 74 65 2d 70 20 63 | 61 73 65 2d 66 6f 6c 64 |gate-p c|ase-fold|
|00000440| 2d 73 65 61 72 63 68 2d | 70 29 20 22 c0 89 19 1a |-search-|p) "....|
|00000450| 0b ac 83 0c ab 83 0b 43 | 11 0c ab 86 c5 09 0c 43 |.......C|.......C|
|00000460| 5c 22 11 0e 06 ab a1 0e | 06 40 0e 07 44 1e 08 09 |\"......|.@..D...|
|00000470| ab 87 c5 0e 08 09 5c 22 | 16 08 c5 5c 6e 0e 08 43 |......\"|...\n..C|
|00000480| 5c 22 12 0e 06 41 16 06 | 29 aa 5b 5c 6e 2a 87 22 |\"...A..|).[\n*."|
|00000490| 20 5b 6e 69 6c 20 74 61 | 69 6c 20 66 72 61 6d 65 | [nil ta|il frame|
|000004a0| 20 6e 65 67 61 74 65 2d | 70 20 63 61 73 65 2d 66 | negate-|p case-f|
|000004b0| 6f 6c 64 2d 73 65 61 72 | 63 68 2d 70 20 61 70 70 |old-sear|ch-p app|
|000004c0| 65 6e 64 20 70 72 65 64 | 6c 69 73 74 20 66 75 6e |end pred|list fun|
|000004d0| 63 20 65 6c 65 6d 65 6e | 74 5d 20 33 20 22 5c 0a |c elemen|t] 3 "\.|
|000004e0| 42 75 69 6c 64 20 61 20 | 72 65 67 69 20 66 72 61 |Build a |regi fra|
|000004f0| 6d 65 20 77 68 65 72 65 | 20 65 61 63 68 20 65 6c |me where| each el|
|00000500| 65 6d 65 6e 74 20 6f 66 | 20 50 52 45 44 4c 49 53 |ement of| PREDLIS|
|00000510| 54 20 61 70 70 65 61 72 | 73 20 65 78 61 63 74 6c |T appear|s exactl|
|00000520| 79 20 6f 6e 63 65 2e 0a | 54 68 65 20 66 72 61 6d |y once..|The fram|
|00000530| 65 20 63 6f 6e 74 61 69 | 6e 73 20 65 6c 65 6d 65 |e contai|ns eleme|
|00000540| 6e 74 73 20 77 68 65 72 | 65 20 65 61 63 68 20 6d |nts wher|e each m|
|00000550| 65 6d 62 65 72 20 6f 66 | 20 50 52 45 44 4c 49 53 |ember of| PREDLIS|
|00000560| 54 20 69 73 0a 61 73 73 | 6f 63 69 61 74 65 64 20 |T is.ass|ociated |
|00000570| 77 69 74 68 20 46 55 4e | 43 2c 20 61 6e 64 20 6f |with FUN|C, and o|
|00000580| 70 74 69 6f 6e 61 6c 6c | 79 20 4e 45 47 41 54 45 |ptionall|y NEGATE|
|00000590| 2d 50 20 61 6e 64 20 43 | 41 53 45 2d 46 4f 4c 44 |-P and C|ASE-FOLD|
|000005a0| 2d 53 45 41 52 43 48 2d | 50 2e 22 5d 29 0a 28 66 |-SEARCH-|P."]).(f|
|000005b0| 73 65 74 20 27 72 65 67 | 69 2d 69 6e 74 65 72 70 |set 'reg|i-interp|
|000005c0| 72 65 74 20 23 5b 28 66 | 72 61 6d 65 20 26 6f 70 |ret #[(f|rame &op|
|000005d0| 74 69 6f 6e 61 6c 20 73 | 74 61 72 74 20 65 6e 64 |tional s|tart end|
|000005e0| 29 20 22 8a 8c c0 89 89 | 89 89 89 19 1a 1b 1c 1d |) ".....|........|
|000005f0| 1e 06 0e 07 ab a5 0e 08 | ab a1 0e 07 1e 09 0e 07 |........|........|
|00000600| 0e 08 5e 89 1e 07 0e 08 | 5d 89 1e 08 62 88 ca cb |..^.....|]...b...|
|00000610| 21 0e 07 62 88 ca cc 21 | 7d 88 2b cd ce 0e 0f 5c |!..b...!|}.+....\|
|00000620| 22 88 d0 0e 06 21 88 5c | 6e 13 09 ac ac 6d ac a9 |"....!.\|n....m..|
|00000630| 0b 40 89 1e 11 40 1e 12 | 0e 11 41 40 1e 13 d4 0e |.@...@..|..A@....|
|00000640| 11 38 1e 15 d6 0e 11 38 | 1e 17 c0 1e 18 d9 da 8d |.8.....8|........|
|00000650| 88 2e 06 d0 0c 21 88 aa | 51 d0 0d 21 2e 08 87 22 |.....!..|Q..!..."|
|00000660| 20 5b 6e 69 6c 20 64 6f | 6e 65 70 20 77 6f 72 6b | [nil do|nep work|
|00000670| 69 6e 67 2d 66 72 61 6d | 65 20 63 75 72 72 65 6e |ing-fram|e curren|
|00000680| 74 2d 66 72 61 6d 65 20 | 65 76 65 72 79 2d 74 61 |t-frame |every-ta|
|00000690| 67 20 65 6e 64 2d 74 61 | 67 20 62 65 67 69 6e 2d |g end-ta|g begin-|
|000006a0| 74 61 67 20 73 74 61 72 | 74 20 65 6e 64 20 74 73 |tag star|t end ts|
|000006b0| 74 61 72 74 20 72 65 67 | 69 2d 70 6f 73 20 62 6f |tart reg|i-pos bo|
|000006c0| 6e 6c 20 62 6f 6c 20 6d | 61 70 63 61 72 20 23 5b |nl bol m|apcar #[|
|000006d0| 28 65 6e 74 72 79 29 20 | 22 08 40 08 41 40 19 89 |(entry) |".@.A@..|
|000006e0| 1a c3 3d ab 85 09 89 14 | aa 9f 5c 6e c5 3d ab 86 |..=.....|..\n.=..|
|000006f0| 09 89 16 06 aa 94 5c 6e | c7 3d ab 86 09 89 16 08 |......\n|.=......|
|00000700| aa 89 c9 0e 5c 6e 08 43 | 5c 22 89 16 5c 6e 2a 87 |....\n.C|\"..\n*.|
|00000710| 22 20 5b 65 6e 74 72 79 | 20 66 75 6e 63 20 70 72 |" [entry| func pr|
|00000720| 65 64 20 62 65 67 69 6e | 20 62 65 67 69 6e 2d 74 |ed begin| begin-t|
|00000730| 61 67 20 65 6e 64 20 65 | 6e 64 2d 74 61 67 20 65 |ag end e|nd-tag e|
|00000740| 76 65 72 79 20 65 76 65 | 72 79 2d 74 61 67 20 61 |very eve|ry-tag a|
|00000750| 70 70 65 6e 64 20 77 6f | 72 6b 69 6e 67 2d 66 72 |ppend wo|rking-fr|
|00000760| 61 6d 65 5d 20 34 5d 20 | 66 72 61 6d 65 20 65 76 |ame] 4] |frame ev|
|00000770| 61 6c 20 65 6e 74 72 79 | 20 70 72 65 64 20 66 75 |al entry| pred fu|
|00000780| 6e 63 20 32 20 6e 65 67 | 61 74 65 2d 70 20 33 20 |nc 2 neg|ate-p 3 |
|00000790| 63 61 73 65 2d 66 6f 6c | 64 2d 73 65 61 72 63 68 |case-fol|d-search|
|000007a0| 20 6d 61 74 63 68 2d 70 | 20 72 65 67 69 2d 74 68 | match-p| regi-th|
|000007b0| 72 6f 77 2d 74 6f 70 20 | 28 62 79 74 65 2d 63 6f |row-top |(byte-co|
|000007c0| 64 65 20 22 08 ac 8c 09 | 10 c2 79 88 c3 c4 c5 5c |de "....|..y....\|
|000007d0| 22 88 aa 90 c6 0e 07 21 | 89 16 08 3b ab 86 c9 0e |"......!|...;....|
|000007e0| 08 21 16 08 0e 5c 6e ab | 85 0e 08 3f 16 08 0e 08 |.!...\n.|...?....|
|000007f0| ab ce cb cc 21 cb cd 21 | 7b 1e 0e 08 1e 0f 0e 10 |....!..!|{.......|
|00000800| 1e 11 c6 0e 12 21 1e 13 | d4 0e 13 9e 41 ae 81 c2 |.....!..|....A...|
|00000810| 1e 14 d5 0e 13 9e ab 86 | d5 0e 13 9e 41 11 d6 0e |........|....A...|
|00000820| 13 3e ab 85 08 41 10 aa | 86 0e 14 79 88 09 10 d7 |.>...A..|...y....|
|00000830| 0e 13 3e ab 88 c5 16 18 | c3 c4 c5 5c 22 88 2d aa |..>.....|...\".-.|
|00000840| 83 08 41 10 c2 87 22 20 | 5b 63 75 72 72 65 6e 74 |..A..." |[current|
|00000850| 2d 66 72 61 6d 65 20 77 | 6f 72 6b 69 6e 67 2d 66 |-frame w|orking-f|
|00000860| 72 61 6d 65 20 31 20 74 | 68 72 6f 77 20 72 65 67 |rame 1 t|hrow reg|
|00000870| 69 2d 74 68 72 6f 77 2d | 74 6f 70 20 74 20 65 76 |i-throw-|top t ev|
|00000880| 61 6c 20 70 72 65 64 20 | 6d 61 74 63 68 2d 70 20 |al pred |match-p |
|00000890| 6c 6f 6f 6b 69 6e 67 2d | 61 74 20 6e 65 67 61 74 |looking-|at negat|
|000008a0| 65 2d 70 20 72 65 67 69 | 2d 70 6f 73 20 62 6f 6c |e-p regi|-pos bol|
|000008b0| 20 65 6f 6c 20 63 75 72 | 6c 69 6e 65 20 63 75 72 | eol cur|line cur|
|000008c0| 66 72 61 6d 65 20 65 6e | 74 72 79 20 63 75 72 65 |frame en|try cure|
|000008d0| 6e 74 72 79 20 66 75 6e | 63 20 72 65 73 75 6c 74 |ntry fun|c result|
|000008e0| 20 73 74 65 70 20 66 72 | 61 6d 65 20 63 6f 6e 74 | step fr|ame cont|
|000008f0| 69 6e 75 65 20 61 62 6f | 72 74 20 64 6f 6e 65 70 |inue abo|rt donep|
|00000900| 5d 20 33 29 5d 20 37 20 | 22 5c 0a 49 6e 74 65 72 |] 3)] 7 |"\.Inter|
|00000910| 70 72 65 74 20 74 68 65 | 20 72 65 67 69 20 66 72 |pret the| regi fr|
|00000920| 61 6d 65 20 46 52 41 4d | 45 2e 0a 49 66 20 6f 70 |ame FRAM|E..If op|
|00000930| 74 69 6f 6e 61 6c 20 53 | 54 41 52 54 20 61 6e 64 |tional S|TART and|
|00000940| 20 45 4e 44 20 61 72 65 | 20 73 75 70 70 6c 69 65 | END are| supplie|
|00000950| 64 2c 20 74 68 65 79 20 | 69 6e 64 69 63 61 74 65 |d, they |indicate|
|00000960| 20 74 68 65 20 72 65 67 | 69 6f 6e 20 6f 66 0a 69 | the reg|ion of.i|
|00000970| 6e 74 65 72 65 73 74 2c | 20 61 6e 64 20 74 68 65 |nterest,| and the|
|00000980| 20 62 75 66 66 65 72 20 | 69 73 20 6e 61 72 72 6f | buffer |is narro|
|00000990| 77 65 64 20 74 6f 20 74 | 68 65 20 62 65 67 69 6e |wed to t|he begin|
|000009a0| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 6c 69 6e 65 |ning of |the line|
|000009b0| 0a 63 6f 6e 74 61 69 6e | 69 6e 67 20 53 54 41 52 |.contain|ing STAR|
|000009c0| 54 2c 20 61 6e 64 20 62 | 65 67 69 6e 6e 69 6e 67 |T, and b|eginning|
|000009d0| 20 6f 66 20 74 68 65 20 | 6c 69 6e 65 20 61 66 74 | of the |line aft|
|000009e0| 65 72 20 74 68 65 20 6c | 69 6e 65 20 63 6f 6e 74 |er the l|ine cont|
|000009f0| 61 69 6e 69 6e 67 0a 45 | 4e 44 2e 20 20 4f 74 68 |aining.E|ND. Oth|
|00000a00| 65 72 77 69 73 65 2c 20 | 70 6f 69 6e 74 20 61 6e |erwise, |point an|
|00000a10| 64 20 6d 61 72 6b 20 61 | 72 65 20 6e 6f 74 20 73 |d mark a|re not s|
|00000a20| 65 74 20 61 6e 64 20 70 | 72 6f 63 65 73 73 69 6e |et and p|rocessin|
|00000a30| 67 20 63 6f 6e 74 69 6e | 75 65 73 0a 75 6e 74 69 |g contin|ues.unti|
|00000a40| 6c 20 79 6f 75 72 20 46 | 55 4e 43 20 72 65 74 75 |l your F|UNC retu|
|00000a50| 72 6e 73 20 74 68 65 20 | 60 61 62 6f 72 74 27 20 |rns the |`abort' |
|00000a60| 73 79 6d 62 6f 6c 20 28 | 73 65 65 20 62 65 6c 6f |symbol (|see belo|
|00000a70| 77 29 2e 20 20 42 65 77 | 61 72 65 21 20 20 4e 6f |w). Bew|are! No|
|00000a80| 74 0a 73 75 70 70 6c 79 | 69 6e 67 20 61 20 53 54 |t.supply|ing a ST|
|00000a90| 41 52 54 20 6f 72 20 45 | 4e 44 20 63 6f 75 6c 64 |ART or E|ND could|
|00000aa0| 20 70 75 74 20 79 6f 75 | 20 69 6e 20 61 6e 20 69 | put you| in an i|
|00000ab0| 6e 66 69 6e 69 74 65 20 | 6c 6f 6f 70 2e 0a 0a 41 |nfinite |loop...A|
|00000ac0| 20 72 65 67 69 20 66 72 | 61 6d 65 20 69 73 20 61 | regi fr|ame is a|
|00000ad0| 20 6c 69 73 74 20 6f 66 | 20 65 6e 74 72 69 65 73 | list of| entries|
|00000ae0| 20 6f 66 20 74 68 65 20 | 66 6f 72 6d 3a 0a 0a 20 | of the |form:.. |
|00000af0| 20 20 20 20 28 50 52 45 | 44 20 46 55 4e 43 20 5b | (PRE|D FUNC [|
|00000b00| 4e 45 47 41 54 45 2d 50 | 20 5b 43 41 53 45 2d 46 |NEGATE-P| [CASE-F|
|00000b10| 4f 4c 44 2d 53 45 41 52 | 43 48 5d 5d 29 0a 0a 50 |OLD-SEAR|CH]])..P|
|00000b20| 52 45 44 20 69 73 20 61 | 20 70 72 65 64 69 63 61 |RED is a| predica|
|00000b30| 74 65 20 61 67 61 69 6e | 73 74 20 77 68 69 63 68 |te again|st which|
|00000b40| 20 65 61 63 68 20 6c 69 | 6e 65 20 69 6e 20 74 68 | each li|ne in th|
|00000b50| 65 20 72 65 67 69 6f 6e | 20 69 73 20 74 65 73 74 |e region| is test|
|00000b60| 65 64 2c 0a 61 6e 64 20 | 69 66 20 61 20 6d 61 74 |ed,.and |if a mat|
|00000b70| 63 68 20 6f 63 63 75 72 | 73 2c 20 46 55 4e 43 20 |ch occur|s, FUNC |
|00000b80| 69 73 20 60 65 76 61 6c | 27 64 2e 20 20 50 6f 69 |is `eval|'d. Poi|
|00000b90| 6e 74 20 69 73 20 74 68 | 65 6e 20 6d 6f 76 65 64 |nt is th|en moved|
|00000ba0| 20 74 6f 20 74 68 65 0a | 62 65 67 69 6e 6e 69 6e | to the.|beginnin|
|00000bb0| 67 20 6f 66 20 74 68 65 | 20 6e 65 78 74 20 6c 69 |g of the| next li|
|00000bc0| 6e 65 2c 20 74 68 65 20 | 66 72 61 6d 65 20 69 73 |ne, the |frame is|
|00000bd0| 20 72 65 73 65 74 20 61 | 6e 64 20 63 68 65 63 6b | reset a|nd check|
|00000be0| 69 6e 67 20 63 6f 6e 74 | 69 6e 75 65 73 2e 0a 49 |ing cont|inues..I|
|00000bf0| 66 20 61 20 6d 61 74 63 | 68 20 64 6f 65 73 6e 27 |f a matc|h doesn'|
|00000c00| 74 20 6f 63 63 75 72 2c | 20 74 68 65 20 6e 65 78 |t occur,| the nex|
|00000c10| 74 20 65 6e 74 72 79 20 | 69 73 20 63 68 65 63 6b |t entry |is check|
|00000c20| 65 64 20 61 67 61 69 6e | 73 74 20 74 68 65 0a 63 |ed again|st the.c|
|00000c30| 75 72 72 65 6e 74 20 6c | 69 6e 65 20 75 6e 74 69 |urrent l|ine unti|
|00000c40| 6c 20 61 6c 6c 20 65 6e | 74 72 69 65 73 20 69 6e |l all en|tries in|
|00000c50| 20 74 68 65 20 66 72 61 | 6d 65 20 61 72 65 20 63 | the fra|me are c|
|00000c60| 68 65 63 6b 65 64 2e 20 | 20 41 74 20 74 68 69 73 |hecked. | At this|
|00000c70| 0a 70 6f 69 6e 74 2c 20 | 69 66 20 6e 6f 20 6d 61 |.point, |if no ma|
|00000c80| 74 63 68 20 6f 63 63 75 | 72 72 65 64 2c 20 74 68 |tch occu|rred, th|
|00000c90| 65 20 66 72 61 6d 65 20 | 69 73 20 72 65 73 65 74 |e frame |is reset|
|00000ca0| 20 61 6e 64 20 70 6f 69 | 6e 74 20 69 73 20 6d 6f | and poi|nt is mo|
|00000cb0| 76 65 64 20 74 6f 0a 74 | 68 65 20 6e 65 78 74 20 |ved to.t|he next |
|00000cc0| 6c 69 6e 65 2e 20 20 43 | 68 65 63 6b 69 6e 67 20 |line. C|hecking |
|00000cd0| 63 6f 6e 74 69 6e 75 65 | 73 20 75 6e 74 69 6c 20 |continue|s until |
|00000ce0| 65 76 65 72 79 20 6c 69 | 6e 65 20 69 6e 20 74 68 |every li|ne in th|
|00000cf0| 65 20 72 65 67 69 6f 6e | 20 69 73 0a 63 68 65 63 |e region| is.chec|
|00000d00| 6b 65 64 2e 20 20 4f 70 | 74 69 6f 6e 61 6c 20 4e |ked. Op|tional N|
|00000d10| 45 47 41 54 45 2d 50 20 | 69 6e 76 65 72 74 73 20 |EGATE-P |inverts |
|00000d20| 74 68 65 20 72 65 73 75 | 6c 74 20 6f 66 20 50 52 |the resu|lt of PR|
|00000d30| 45 44 20 62 65 66 6f 72 | 65 20 46 55 4e 43 20 69 |ED befor|e FUNC i|
|00000d40| 73 0a 63 61 6c 6c 65 64 | 20 61 6e 64 20 60 63 61 |s.called| and `ca|
|00000d50| 73 65 2d 66 6f 6c 64 2d | 73 65 61 72 63 68 27 20 |se-fold-|search' |
|00000d60| 69 73 20 62 6f 75 6e 64 | 20 74 6f 20 74 68 65 20 |is bound| to the |
|00000d70| 6f 70 74 69 6f 6e 61 6c | 20 76 61 6c 75 65 20 6f |optional| value o|
|00000d80| 66 0a 43 41 53 45 2d 46 | 4f 4c 44 2d 53 45 41 52 |f.CASE-F|OLD-SEAR|
|00000d90| 43 48 20 66 6f 72 20 74 | 68 65 20 50 52 45 44 20 |CH for t|he PRED |
|00000da0| 63 68 65 63 6b 2e 0a 0a | 50 52 45 44 20 63 61 6e |check...|PRED can|
|00000db0| 20 62 65 20 61 20 73 74 | 72 69 6e 67 2c 20 76 61 | be a st|ring, va|
|00000dc0| 72 69 61 62 6c 65 2c 20 | 66 75 6e 63 74 69 6f 6e |riable, |function|
|00000dd0| 20 6f 72 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 66 | or one |of the f|
|00000de0| 6f 6c 6c 6f 77 69 6e 67 | 0a 73 79 6d 62 6f 6c 73 |ollowing|.symbols|
|00000df0| 3a 20 74 2c 20 6e 69 6c | 2c 20 60 62 65 67 69 6e |: t, nil|, `begin|
|00000e00| 27 2c 20 60 65 6e 64 27 | 2c 20 61 6e 64 20 60 65 |', `end'|, and `e|
|00000e10| 76 65 72 79 27 2e 20 20 | 49 66 20 50 52 45 44 20 |very'. |If PRED |
|00000e20| 69 73 20 61 20 73 74 72 | 69 6e 67 2c 20 6f 72 0a |is a str|ing, or.|
|00000e30| 61 20 76 61 72 69 61 62 | 6c 65 20 6f 72 20 6c 69 |a variab|le or li|
|00000e40| 73 74 20 74 68 61 74 20 | 65 76 61 6c 75 61 74 65 |st that |evaluate|
|00000e50| 73 20 74 6f 20 61 20 73 | 74 72 69 6e 67 2c 20 69 |s to a s|tring, i|
|00000e60| 74 20 69 73 20 69 6e 74 | 65 72 70 72 65 74 65 64 |t is int|erpreted|
|00000e70| 20 61 73 20 61 0a 72 65 | 67 75 6c 61 72 20 65 78 | as a.re|gular ex|
|00000e80| 70 72 65 73 73 69 6f 6e | 20 61 6e 64 20 69 73 20 |pression| and is |
|00000e90| 6d 61 74 63 68 65 64 20 | 61 67 61 69 6e 73 74 20 |matched |against |
|00000ea0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6c 69 6e 65 |the curr|ent line|
|00000eb0| 20 28 66 72 6f 6d 20 74 | 68 65 0a 62 65 67 69 6e | (from t|he.begin|
|00000ec0| 6e 69 6e 67 29 20 75 73 | 69 6e 67 20 60 6c 6f 6f |ning) us|ing `loo|
|00000ed0| 6b 69 6e 67 2d 61 74 27 | 2e 20 20 49 66 20 50 52 |king-at'|. If PR|
|00000ee0| 45 44 20 64 6f 65 73 20 | 6e 6f 74 20 65 76 61 6c |ED does |not eval|
|00000ef0| 75 61 74 65 20 74 6f 20 | 61 20 73 74 72 69 6e 67 |uate to |a string|
|00000f00| 2c 0a 69 74 20 69 73 20 | 69 6e 74 65 72 70 72 65 |,.it is |interpre|
|00000f10| 74 65 64 20 61 73 20 61 | 20 62 69 6e 61 72 79 20 |ted as a| binary |
|00000f20| 76 61 6c 75 65 20 28 6e | 69 6c 20 6f 72 20 6e 6f |value (n|il or no|
|00000f30| 6e 2d 6e 69 6c 29 2e 0a | 0a 50 52 45 44 20 63 61 |n-nil)..|.PRED ca|
|00000f40| 6e 20 61 6c 73 6f 20 62 | 65 20 6f 6e 65 20 6f 66 |n also b|e one of|
|00000f50| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 73 | the fol|lowing s|
|00000f60| 79 6d 62 6f 6c 73 3a 0a | 0a 74 20 20 20 20 20 20 |ymbols:.|.t |
|00000f70| 20 2d 2d 20 61 6c 77 61 | 79 73 20 70 72 6f 64 75 | -- alwa|ys produ|
|00000f80| 63 65 73 20 61 20 74 72 | 75 65 20 6f 75 74 63 6f |ces a tr|ue outco|
|00000f90| 6d 65 0a 60 62 65 67 69 | 6e 27 20 2d 2d 20 61 6c |me.`begi|n' -- al|
|00000fa0| 77 61 79 73 20 65 78 65 | 63 75 74 65 73 20 62 65 |ways exe|cutes be|
|00000fb0| 66 6f 72 65 20 61 6e 79 | 74 68 69 6e 67 20 65 6c |fore any|thing el|
|00000fc0| 73 65 0a 60 65 6e 64 27 | 20 20 20 2d 2d 20 61 6c |se.`end'| -- al|
|00000fd0| 77 61 79 73 20 65 78 65 | 63 75 74 65 73 20 61 66 |ways exe|cutes af|
|00000fe0| 74 65 72 20 65 76 65 72 | 79 74 68 69 6e 67 20 65 |ter ever|ything e|
|00000ff0| 6c 73 65 0a 60 65 76 65 | 72 79 27 20 2d 2d 20 65 |lse.`eve|ry' -- e|
|00001000| 78 65 63 75 74 65 20 61 | 66 74 65 72 20 66 72 61 |xecute a|fter fra|
|00001010| 6d 65 20 69 73 20 6d 61 | 74 63 68 65 64 20 6f 6e |me is ma|tched on|
|00001020| 20 61 20 6c 69 6e 65 0a | 0a 4e 6f 74 65 20 74 68 | a line.|.Note th|
|00001030| 61 74 20 4e 45 47 41 54 | 45 2d 50 20 61 6e 64 20 |at NEGAT|E-P and |
|00001040| 43 41 53 45 2d 46 4f 4c | 44 2d 53 45 41 52 43 48 |CASE-FOL|D-SEARCH|
|00001050| 20 61 72 65 20 6d 65 61 | 6e 69 6e 67 6c 65 73 73 | are mea|ningless|
|00001060| 20 69 66 20 50 52 45 44 | 20 69 73 20 6f 6e 65 0a | if PRED| is one.|
|00001070| 6f 66 20 74 68 65 73 65 | 20 73 70 65 63 69 61 6c |of these| special|
|00001080| 20 73 79 6d 62 6f 6c 73 | 2e 20 20 4f 6e 6c 79 20 | symbols|. Only |
|00001090| 74 68 65 20 66 69 72 73 | 74 20 6f 63 63 75 72 61 |the firs|t occura|
|000010a0| 6e 63 65 20 6f 66 20 65 | 61 63 68 20 73 79 6d 62 |nce of e|ach symb|
|000010b0| 6f 6c 20 69 6e 0a 61 20 | 66 72 61 6d 65 20 65 6e |ol in.a |frame en|
|000010c0| 74 72 79 20 69 73 20 75 | 73 65 64 2c 20 74 68 65 |try is u|sed, the|
|000010d0| 20 72 65 73 74 20 61 72 | 65 20 69 67 6e 6f 72 65 | rest ar|e ignore|
|000010e0| 64 2e 0a 0a 59 6f 75 72 | 20 46 55 4e 43 20 63 61 |d...Your| FUNC ca|
|000010f0| 6e 20 72 65 74 75 72 6e | 20 76 61 6c 75 65 73 20 |n return| values |
|00001100| 77 68 69 63 68 20 63 6f | 6e 74 72 6f 6c 20 72 65 |which co|ntrol re|
|00001110| 67 69 20 70 72 6f 63 65 | 73 73 69 6e 67 2e 20 20 |gi proce|ssing. |
|00001120| 49 66 20 61 20 6c 69 73 | 74 0a 69 73 20 72 65 74 |If a lis|t.is ret|
|00001130| 75 72 6e 65 64 20 66 72 | 6f 6d 20 79 6f 75 72 20 |urned fr|om your |
|00001140| 66 75 6e 63 74 69 6f 6e | 2c 20 69 74 20 63 61 6e |function|, it can|
|00001150| 20 63 6f 6e 74 61 69 6e | 20 61 6e 79 20 63 6f 6d | contain| any com|
|00001160| 62 69 6e 61 74 69 6f 6e | 20 6f 66 20 74 68 65 0a |bination| of the.|
|00001170| 66 6f 6c 6c 6f 77 69 6e | 67 20 65 6c 65 6d 65 6e |followin|g elemen|
|00001180| 74 73 3a 0a 0a 74 68 65 | 20 73 79 6d 62 6f 6c 20 |ts:..the| symbol |
|00001190| 60 63 6f 6e 74 69 6e 75 | 65 27 0a 20 20 20 20 20 |`continu|e'. |
|000011a0| 54 65 6c 6c 73 20 72 65 | 67 69 20 74 6f 20 63 6f |Tells re|gi to co|
|000011b0| 6e 74 69 6e 75 65 20 70 | 72 6f 63 65 73 73 69 6e |ntinue p|rocessin|
|000011c0| 67 20 66 72 61 6d 65 2d | 65 6e 74 72 69 65 73 20 |g frame-|entries |
|000011d0| 61 66 74 65 72 20 61 20 | 6d 61 74 63 68 2c 0a 20 |after a |match,. |
|000011e0| 20 20 20 20 69 6e 73 74 | 65 61 64 20 6f 66 20 72 | inst|ead of r|
|000011f0| 65 73 65 74 74 69 6e 67 | 20 74 6f 20 74 68 65 20 |esetting| to the |
|00001200| 66 69 72 73 74 20 65 6e | 74 72 79 20 61 6e 64 20 |first en|try and |
|00001210| 61 64 76 61 6e 63 69 6e | 67 20 74 6f 20 74 68 65 |advancin|g to the|
|00001220| 20 6e 65 78 74 0a 20 20 | 20 20 20 6c 69 6e 65 2c | next. | line,|
|00001230| 20 61 73 20 69 73 20 74 | 68 65 20 64 65 66 61 75 | as is t|he defau|
|00001240| 6c 74 20 62 65 68 61 76 | 69 6f 72 2e 20 20 57 68 |lt behav|ior. Wh|
|00001250| 65 6e 20 72 65 74 75 72 | 6e 69 6e 67 20 74 68 69 |en retur|ning thi|
|00001260| 73 20 73 79 6d 62 6f 6c | 2c 0a 20 20 20 20 20 79 |s symbol|,. y|
|00001270| 6f 75 20 6d 75 73 74 20 | 74 61 6b 65 20 63 61 72 |ou must |take car|
|00001280| 65 20 6e 6f 74 20 74 6f | 20 65 6e 74 65 72 20 61 |e not to| enter a|
|00001290| 6e 20 69 6e 66 69 6e 69 | 74 65 20 6c 6f 6f 70 2e |n infini|te loop.|
|000012a0| 0a 0a 74 68 65 20 73 79 | 6d 62 6f 6c 20 60 61 62 |..the sy|mbol `ab|
|000012b0| 6f 72 74 27 0a 20 20 20 | 20 20 54 65 6c 6c 73 20 |ort'. | Tells |
|000012c0| 72 65 67 69 20 74 6f 20 | 74 65 72 6d 69 6e 61 74 |regi to |terminat|
|000012d0| 65 20 70 72 6f 63 65 73 | 73 69 6e 67 20 74 68 69 |e proces|sing thi|
|000012e0| 73 20 66 72 61 6d 65 2e | 20 20 61 6e 79 20 65 6e |s frame.| any en|
|000012f0| 64 0a 20 20 20 20 20 66 | 72 61 6d 65 2d 65 6e 74 |d. f|rame-ent|
|00001300| 72 79 20 69 73 20 73 74 | 69 6c 6c 20 70 72 6f 63 |ry is st|ill proc|
|00001310| 65 73 73 65 64 2e 0a 0a | 74 68 65 20 6c 69 73 74 |essed...|the list|
|00001320| 20 60 28 66 72 61 6d 65 | 20 2e 20 4e 45 57 46 52 | `(frame| . NEWFR|
|00001330| 41 4d 45 29 27 0a 20 20 | 20 20 20 54 65 6c 6c 73 |AME)'. | Tells|
|00001340| 20 72 65 67 69 20 74 6f | 20 75 73 65 20 4e 45 57 | regi to| use NEW|
|00001350| 46 52 41 4d 45 20 61 73 | 20 69 74 73 20 63 75 72 |FRAME as| its cur|
|00001360| 72 65 6e 74 20 66 72 61 | 6d 65 2e 20 20 49 6e 20 |rent fra|me. In |
|00001370| 6f 74 68 65 72 20 77 6f | 72 64 73 2c 0a 20 20 20 |other wo|rds,. |
|00001380| 20 20 79 6f 75 72 20 46 | 55 4e 43 20 63 61 6e 20 | your F|UNC can |
|00001390| 6d 6f 64 69 66 79 20 74 | 68 65 20 65 78 65 63 75 |modify t|he execu|
|000013a0| 74 69 6e 67 20 72 65 67 | 69 20 66 72 61 6d 65 20 |ting reg|i frame |
|000013b0| 6f 6e 20 74 68 65 20 66 | 6c 79 2e 0a 0a 74 68 65 |on the f|ly...the|
|000013c0| 20 6c 69 73 74 20 60 28 | 73 74 65 70 20 2e 20 53 | list `(|step . S|
|000013d0| 54 45 50 29 27 0a 20 20 | 20 20 20 54 65 6c 6c 73 |TEP)'. | Tells|
|000013e0| 20 72 65 67 69 20 74 6f | 20 6d 6f 76 65 20 53 54 | regi to| move ST|
|000013f0| 45 50 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |EP numbe|r of lin|
|00001400| 65 73 20 66 6f 72 77 61 | 72 64 20 64 75 72 69 6e |es forwa|rd durin|
|00001410| 67 20 6e 6f 72 6d 61 6c | 0a 20 20 20 20 20 70 72 |g normal|. pr|
|00001420| 6f 63 65 73 73 69 6e 67 | 2e 20 20 42 79 20 64 65 |ocessing|. By de|
|00001430| 66 61 75 6c 74 2c 20 72 | 65 67 69 20 6d 6f 76 65 |fault, r|egi move|
|00001440| 73 20 66 6f 72 77 61 72 | 64 20 31 20 6c 69 6e 65 |s forwar|d 1 line|
|00001450| 2e 20 20 53 54 45 50 20 | 63 61 6e 20 62 65 0a 20 |. STEP |can be. |
|00001460| 20 20 20 20 6e 65 67 61 | 74 69 76 65 2c 20 62 75 | nega|tive, bu|
|00001470| 74 20 62 65 20 63 61 72 | 65 66 75 6c 20 6f 66 20 |t be car|eful of |
|00001480| 69 6e 66 69 6e 69 74 65 | 20 6c 6f 6f 70 73 2e 0a |infinite| loops..|
|00001490| 0a 59 6f 75 20 73 68 6f | 75 6c 64 20 75 73 75 61 |.You sho|uld usua|
|000014a0| 6c 6c 79 20 74 61 6b 65 | 20 63 61 72 65 20 74 6f |lly take| care to|
|000014b0| 20 65 78 70 6c 69 63 69 | 74 6c 79 20 72 65 74 75 | explici|tly retu|
|000014c0| 72 6e 20 6e 69 6c 20 66 | 72 6f 6d 20 79 6f 75 72 |rn nil f|rom your|
|000014d0| 0a 66 75 6e 63 74 69 6f | 6e 20 69 66 20 6e 6f 20 |.functio|n if no |
|000014e0| 61 63 74 69 6f 6e 20 69 | 73 20 74 6f 20 74 61 6b |action i|s to tak|
|000014f0| 65 20 70 6c 61 63 65 2e | 20 20 59 6f 75 72 20 46 |e place.| Your F|
|00001500| 55 4e 43 20 77 69 6c 6c | 20 61 6c 77 61 79 73 20 |UNC will| always |
|00001510| 62 65 0a 60 65 76 61 6c | 27 65 64 2e 20 20 54 68 |be.`eval|'ed. Th|
|00001520| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 76 61 72 69 |e follow|ing vari|
|00001530| 61 62 6c 65 73 20 77 69 | 6c 6c 20 62 65 20 74 65 |ables wi|ll be te|
|00001540| 6d 70 6f 72 61 72 69 6c | 79 20 62 6f 75 6e 64 20 |mporaril|y bound |
|00001550| 74 6f 20 73 6f 6d 65 0a | 75 73 65 66 75 6c 20 69 |to some.|useful i|
|00001560| 6e 66 6f 72 6d 61 74 69 | 6f 6e 3a 0a 0a 60 63 75 |nformati|on:..`cu|
|00001570| 72 6c 69 6e 65 27 0a 20 | 20 20 20 20 74 68 65 20 |rline'. | the |
|00001580| 63 75 72 72 65 6e 74 20 | 6c 69 6e 65 20 69 6e 20 |current |line in |
|00001590| 74 68 65 20 62 75 66 66 | 65 72 2c 20 61 73 20 61 |the buff|er, as a|
|000015a0| 20 73 74 72 69 6e 67 0a | 0a 60 63 75 72 66 72 61 | string.|.`curfra|
|000015b0| 6d 65 27 0a 20 20 20 20 | 20 74 68 65 20 66 75 6c |me'. | the ful|
|000015c0| 6c 2c 20 63 75 72 72 65 | 6e 74 20 66 72 61 6d 65 |l, curre|nt frame|
|000015d0| 20 62 65 69 6e 67 20 65 | 78 65 63 75 74 65 64 0a | being e|xecuted.|
|000015e0| 0a 60 63 75 72 65 6e 74 | 72 79 27 0a 20 20 20 20 |.`curent|ry'. |
|000015f0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 66 72 61 | the cur|rent fra|
|00001600| 6d 65 20 65 6e 74 72 79 | 20 62 65 69 6e 67 20 65 |me entry| being e|
|00001610| 78 65 63 75 74 65 64 2e | 22 5d 29 0a 28 70 72 6f |xecuted.|"]).(pro|
|00001620| 76 69 64 65 20 27 72 65 | 67 69 29 0a |vide 're|gi). |
+--------+-------------------------+-------------------------+--------+--------+